POV-Ray : Newsgroups : povray.newusers : Fade to white? : Re: Fade to white? Server Time
29 Jul 2024 10:31:05 EDT (-0400)
  Re: Fade to white?  
From: Chris B
Date: 19 Mar 2006 08:55:32
Message: <441d62d4@news.povray.org>
"Joost de Greef" <gro### [at] gmailcom> wrote in message 
news:441d5552@news.povray.org...
> Hi!
>
> I'm new to POVRAY, and running into small problems. I would like to draw
> some balls on a white background, and have some kind of depth-queueing.
> So basically, I would like to have the ball closest to the camera in full
> color, while the ones further away fade to white. At best I seem to manage
> to fade everything to grey, background including.
>  Could someone please shed some Light on the issue for me? I've searched
> the net on various terms I could come up with, but being am absolute
> beginner, my POVRAY-vocabulary is rather limited...
>
> Thank you very much for your time!
> Joost de Greef.

Hi Joost,

You might want to try:

fog {
  fog_type 1
  distance 0.7
  color rgbt<1,1,1,0>
}

Regards,
Chris B.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.